<?php
class index {
	
	private  $_userid;
	private $_username;
	function __construct() {
	}
	
	function init(){
		/*$aid = $_GET['a_id'];
		$whereSql = "a_id = '" . $aid . "'";
		$activity = $this->dbActivity->get_one($whereSql);

		$game = $this->doGetGameInfoById($activity['g_id']);
		$activity['g_name'] = $game['g_name'];
		if($activity['f_id'] > 0){
			$server = $this->doGetServerInfoById($activity['f_id']);
			$activity['f_name'] = $server['f_name'];
		}else{
			$activity['f_name'] = 'ȫ��';
		}
		$this->dbu2a = pc_base::load_model("user2activity_model");
		$uas = array('a_id' => $aid);
		$aCount = $this->dbu2a->count($uas);
		$activity['a_count'] = $aCount;

		$gameList = $this->getGameList();
		$serverList = $this->doGetServerByGameId($activity['g_id']);

		include template ( 'hchindex', 'index' );*/
	}
}
?>